package com.briup.jz.service;

import java.util.List;

import com.briup.jz.bean.Address;
import com.briup.jz.utils.CustomerException;

public interface IAddressService {
	
	void saveOrUpdate(Address address) throws CustomerException;
	
	List<Address> query(String name);
	
	void deleteById(long id) throws CustomerException;
	
	//分页查询
	List<Address> pageQuery(int page, int pageSize, Long userId);
}
